package com.mycom.pojo;

import java.util.Date;
import java.util.List;

public class Employee {
    private Integer id;
    private String username;
    private String idCardNumber;
    private String phoneNumber;
    private Character gender;
    private String educationDegree;
    private String position;
    private Date entryTime;
    private Integer departmentId;
    private List<UserForm> userForms;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getIdCardNumber() {
        return idCardNumber;
    }

    public void setIdCardNumber(String idCardNumber) {
        this.idCardNumber = idCardNumber;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public Character getGender() {
        return gender;
    }

    public void setGender(Character gender) {
        this.gender = gender;
    }

    public String getEducationDegree() {
        return educationDegree;
    }

    public void setEducationDegree(String educationDegree) {
        this.educationDegree = educationDegree;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public Date getEntryTime() {
        return entryTime;
    }

    public void setEntryTime(Date entryTime) {
        this.entryTime = entryTime;
    }

    public Integer getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Integer departmentId) {
        this.departmentId = departmentId;
    }

    public List<UserForm> getUserForms() {
        return userForms;
    }

    public void setUserForms(List<UserForm> userForms) {
        this.userForms = userForms;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", idCardNumber='" + idCardNumber + '\'' +
                ", phoneNumber='" + phoneNumber + '\'' +
                ", gender=" + gender +
                ", educationDegree='" + educationDegree + '\'' +
                ", position='" + position + '\'' +
                ", entryTime=" + entryTime +
                ", departmentId=" + departmentId +
                ", userForms=" + userForms +
                '}';
    }
}
